//
// Created by macbookpro on 2024/4/12.
//


#ifndef TESTDESIGNPATTERNSSTRATEGY_FLYROCKETPOWERED_H
#define TESTDESIGNPATTERNSSTRATEGY_FLYROCKETPOWERED_H

#include <iostream>
#include "FlyBehavior.h"

class FlyRocketPowered : public FlyBehavior{
public:
    void fly() const override{
        std::cout<<"I'm fly with rocket!"<<std::endl;
    }
};
#endif //TESTDESIGNPATTERNSSTRATEGY_FLYROCKETPOWERED_H
